const go/types.mapindex
11 uses
go/types (current package)
api.go#L411: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L432: return tv.mode == variable || tv.mode == mapindex
api.go#L438: return tv.mode == commaok || tv.mode == mapindex
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L231: case variable, mapindex:
assignments.go#L237: if op.mode == mapindex {
expr.go#L1260: if allowCommaOk && (x.mode == mapindex || x.mode == commaok || x.mode == commaerr) {
index.go#L99: x.mode = mapindex
index.go#L173: x.mode = mapindex
operand.go#L31: mapindex // operand is a map index expression (acts like a variable on lhs, commaok on rhs of an assignment)
operand.go#L46: mapindex: "map index expression",